package com.example.javabasic.thread.classtwo.threadlocal.demo1;

public class ThreadLocalSimpleTest {
    private static ThreadLocal threadLocal = new ThreadLocal();

    public static void main(String[] args) throws InterruptedException {
        threadLocal.set("哈哈");
        Thread.sleep(1000);
        Object o = threadLocal.get();
        System.out.println(o);
    }
}
